<?php
Util::tsRegisterAssetJs('view.js');
$this->pageTitle = $model->nombre;
?>
<script>
    var entidad_id = "<?php print $model->id; ?>";
    var tipoModal = <?php echo $tipoModal; ?>;
    var direccion_id = <?php echo $direccion_id; ?>;
</script>
<div class="row-fluid">
    <div class="col-lg-4">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title"> Informaci&oacute;n General</h3>
            </div>
            <div class="panel-body">
                <div id="portlet_informacion">
                    <button class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button>

                    <?php $this->renderPartial('portlets/_informacion', array('model' => $model)); ?>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-8">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h4 class="panel-title"> Ubicaci&oacute;n</h4>
            </div>
            <div class="panel-body">
                <div id="portlet_ubicacion">
                    <?php $this->renderPartial('portlets/_ubicacion', array('model' => $model, 'modelDireccion' => $modelDireccion)); ?>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row-fluid">
    <div class="col-lg-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h4 class="panel-title">Fotos</h4>
            </div>
            <div class="panel-body">
                <div id="portlet_fotos">
                    <?php $this->renderPartial('portlets/_entidad_foto', array('model' => $model)); ?>

                </div>
            </div>
        </div>

    </div>
</div>

